import Vote_Interface from '../../common_models/Vote_Interface'
// 投票信息类
export default class Vote implements Vote_Interface {
    voteName: string
    v: [number, number][]
    constructor(voteName: string) {
        this.voteName = voteName
        this.v = []
    }
    // 增加投票信息
    addV(from: number, to: number) {
        this.v.push([from, to])
    }
}